﻿using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCompanyName.AbpZeroTemplate.Prm.Project
{
    /// <summary>
    /// 项目成员评价
    /// </summary>
    public class TeamComment : FullAuditedEntity<int>
    {

        /// <summary>
        /// 项目Id
        /// </summary>
        public virtual int ProjectId
        {
            get;
            set;
        }
        public virtual int UserId
        {
            get;
            set;
        }
        public virtual int ProjectRoleId
        {
            get;
            set;
        }


        /// <summary>
        /// 评价分数
        /// </summary>
        public virtual int Score
        {
            get;
            set;
        }


        /// <summary>
        /// 评价内容
        /// </summary>
        public virtual string Content
        {
            get;
            set;
        }

        /// <summary>
        /// 评价时间
        /// </summary>
        public virtual DateTime CreateTime
        {
            get;
            set;
        }


        ///// <summary>
        ///// 评价状态
        ///// </summary>
        //public virtual CommentStatus CommentStatus { get; set; }

    }


    //public enum CommentStatus
    //{
    //    草稿 = 1,
    //    提交 = 2
    //}
}
